using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using BUS;
using DAO;
using DTO;

namespace TestQLKS
{
    [TestFixture]
    class CKHACHTHUE
    {
        //ds khach thue
        [Test]
        public void TestLayDanhSachKhachThueTheoPhieuThue()
        {
            List<CKHACHTHUEDTO> dskt = CKHACHTHUEBUS.LayDanhSachKhachThueTheoPhieuThue(80);
            Assert.AreNotEqual(dskt, null);
        }
        [Test]
        public void TestSoLuongKhachThueThuePhieuThue()
        {
            int kq = CKHACHTHUEDAO.SoLuongKhachThueTrongPhieuThue(80);
            Assert.AreEqual(kq, 1);
        }
    }
}
